import request from "./http";


// 人气好物
export function getHomls():any{
    return request({
        url:"https://www.fastmock.site/mock/3852e07a67cad6e17f1cd28accba5fbb/_shpm/homls",
        method:"get",
      
    })
}

// 人气好物
export function getUplod():any{
    return request({
        url:"https://www.fastmock.site/mock/3852e07a67cad6e17f1cd28accba5fbb/_shpm/uplod",
        method:"get"
    })
}

// 商品详情 getDeta
export function getDeta(goods_id:any):any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/goods/detail",
        method:"get",
        params:{goods_id}
    })
}

//    玩偶

export function getDoll():any{
    return request({
        url:"https://www.fastmock.site/mock/3852e07a67cad6e17f1cd28accba5fbb/_shpm/doll",
        method:"get"
    })
}


// 商品详情
export function getTixue():any{
    return request({
        url:"https://www.fastmock.site/mock/3852e07a67cad6e17f1cd28accba5fbb/_shpm/tixue",
        method:"get"
    })
}

   //百货  /department

   export function getDepartment():any{
    return request({
        url:"https://www.fastmock.site/mock/3852e07a67cad6e17f1cd28accba5fbb/_shpm/department",
        method:"get"
    })
}



// 详情数据
export function getComd():any{
    return request({
        url:"https://api-mall.mihoyogift.com/common/homeishop/v1/goods/detail?goods_id=2021633865892689628160",
        method:"get"
    })
}

// 商品类  

export function getMihoyo():any{
    return request({
 url:"https://api-mall.mihoyogift.com/common/homeishop/v1/goods/search_goods_spu_list?page=1&limit=16",
        method:"get"
    })
}


export function getSech():any{
    return request({
 url:"https://api-mall.mihoyogift.com/common/homeishop/v1/goods/search_goods_spu_list?page=2&limit=16&order_by=comprehensive&shop_code=ys&show_sale_type=1&hide_sold_out=false&goods_type=1",
        method:"get"
    })
}
//挂件摆件
export function getPendant():any{
    return request({
        url:"https://www.fastmock.site/mock/3852e07a67cad6e17f1cd28accba5fbb/_shpm/pendant",
        method:"get"
    })
}


